/**
 * Copyright 2013 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2013-8-26 下午12:18:43
 */
package com.absir.android.goods;

/**
 * @author absir
 * 
 */
public abstract class GoodsDefine implements IGoodsDefine {

	/**
	 * @param goodsInfo
	 * @param count
	 * @return
	 */
	public boolean gainGoodsInfo(IGoodsInfo goodsInfo, int count) {
		return gainGoodsInfo(goodsInfo.getTag(), count);
	}

	/**
	 * @param goodsInfo
	 * @param count
	 * @return
	 */
	public boolean consumeGoodsInfo(IGoodsInfo goodsInfo, int count) {
		return consumeGoodsInfo(goodsInfo.getTag(), count);
	}
}
